package kr.hkit.info.powerjava.ch16;

public class DeptDTO {
	private int dptNo;
	private String deptName;
	private int floor;

	public DeptDTO(int dptNo, String deptName, int floor) {
		this.dptNo = dptNo;
		this.deptName = deptName;
		this.floor = floor;
	}

	public int getDptNo() {
		return dptNo;
	}

	public void setDptNo(int dptNo) {
		this.dptNo = dptNo;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

	public int getFloor() {
		return floor;
	}

	public void setFloor(int floor) {
		this.floor = floor;
	}

	public DeptDTO() {
	}

	@Override
	public String toString() {
		return "DeptDTO [dptNo=" + dptNo + ", deptName=" + deptName + ", floor="
				+ floor + "]";
	}

	public DeptDTO(int dptNo) {
		this.dptNo = dptNo;
	}

}
